﻿namespace KinonekoSoftware.CodariaDB.Documents.Shenanigans.Forum
{
    public sealed class Discuss : ShenanigansBase
    {
        private string _name;
        private string _intro;

        /// <summary>
        /// 
        /// </summary>
        public string OwnerID { get; set; }
        
        /// <summary>
        /// 获取或设置 <see cref="Intro"/> 属性。
        /// </summary>
        public string Intro
        {
            get => _intro;
            set => SetValue(ref _intro, value);
        }

        /// <summary>
        /// 获取或设置 <see cref="Name"/> 属性。
        /// </summary>
        public string Name
        {
            get => _name;
            set => SetValue(ref _name, value);
        }

        /// <summary>
        /// 除了Owner以外的所有发帖人的ID。 
        /// </summary>
        public List<string> Members { get; set; }

        public List<ForumObject> Threads { get; set; }
    }
}